<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\api\service\CooperateService;

class Cooperate extends Api
{
    protected $noNeedLogin = [''];
    protected $noNeedRight = ['*'];

    /**
     * 申请管家
     *
     */
    public function apply()
    {
        $data = $this->request->post();
        $res = CooperateService::applyCooperate($data);
        return json($res);
    }
}